package com.taobao.txc.resourcemanager.b.c;

import com.taobao.txc.common.LoggerInit;
import com.taobao.txc.common.LoggerWrap;
import java.sql.Connection;
import java.sql.SQLException;

public class a
{
  private static final LoggerWrap a = LoggerInit.logger;
  private static final com.taobao.txc.common.b.a.a b = new com.taobao.txc.common.b.a.b();
  
  public static void a(Connection paramConnection, Throwable paramThrowable)
  {
    if (((paramThrowable instanceof SQLException)) && (b.a((SQLException)paramThrowable))) {}
  }
  
  public static SQLException b(Connection paramConnection, Throwable paramThrowable)
  {
    try
    {
      a.a(com.taobao.txc.common.b.b.aU, paramThrowable);
      a(paramConnection, paramThrowable);
      throw new SQLException(paramThrowable);
    }
    finally
    {
      if ((paramThrowable instanceof SQLException)) {
        throw ((SQLException)paramThrowable);
      }
    }
  }
}


/* Location:           C:\Users\ibm\Downloads\txc-yun-sample (1)\txc-yun-sample\lib\txc-client-2.0.72.jar
 * Qualified Name:     com.taobao.txc.resourcemanager.b.c.a
 * JD-Core Version:    0.7.0.1
 */